/**
 * 
 */
package dataCPU;

/**
 * @author dt08nu0
 *
 */
public abstract class Word implements Data {

	Number word;
	
	public Word(Number word) {
		this.word = word;
	}
	
	public Number getValue(){
		return word;
	}
	
	public Word getObj(){
		return this;
	}
	
	public abstract Word mul(Word word);
	public abstract Word add(Word word);
	
    @Override
	public String toString() {
	return getValue();
    }
}
